<?php $this->load->view('home/layout/header') ?>
<header class="my-head flex">
	<div class="my-return">
		<a href="javascript:history.go(-1);">
			<i class="iconfont icon-zuojiantou"></i>
		</a>
	</div>
	<div class="my-name">
		银行卡详情
	</div>
</header>
<section class="card-text widthMax">
	<ul class="brank-details brank-ul">
		<li>
			<a href="javascript:;" class="flex">
				<img src="<?php echo 'images/bank68/bank-', $userBank->bank_id, '.png'; ?>">
				<div class="brank-num flex-1">
					<h6><?php echo $userBank->bank_name;  ?></h6>
					<p><?php
					$len = strlen($userBank->bank_card) - 4; 
					echo substr_replace($userBank->bank_card, str_repeat('*', $len), 0, $len); //卡号后面只留4位
					?></p>
				</div>
			</a>
		</li>
	</ul>
	<div class="full-submit">
		<a href="javascript:;" class="brank-remove" id="bank-remove" data-id="<?php echo $userBank->user_bank_id; ?>">
			解除绑定
		</a>
	</div>
</section>

<div class="am-modal alert-explain" tabindex="-1" id="my-confirm">
  <div class="am-modal-dialog">
    <div class="am-modal-bd">
      确定解绑该银行卡号码？
    </div>
    <div class="am-modal-footer">
      <span class="am-modal-btn" data-am-modal-cancel>取消</span>
      <span class="am-modal-btn" data-am-modal-confirm>确定</span>
    </div>
  </div>
</div>
<?php $this->load->view('home/layout/footer'); ?>